<%@ page import="java.util.Date" %><%--
  Created by IntelliJ IDEA.
  User: 箜絔lk
  Date: 2020/9/22
  Time: 20:05
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<html>
<head>
    <title></title>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="${path}/plugins/bootstrap-3.3.7-dist/css/bootstrap.css">
    <link rel="stylesheet" href="${path}/css/index.css">
</head>
<body>

<%=new Date()%>

<%--为了让外部js中出现的项目的上下文路径都是Ok的--%>
<input type='hidden' id='path' value='${path}'>

<%@ include file="../common/nav.jsp"%>


<div id="outer">

</div>


<script src="${path}/plugins/jquery/jquery.min.js"></script>
<script src="${path}/plugins/bootstrap-3.3.7-dist/js/bootstrap.min.js"></script>
<%--如果js代码是jsp内部代码,那么js中是允许使用EL表达式的,但是如果js是引入的外部,是不允许使用EL表达式的--%>
<script>
    $(function () {
        $("#outer").load("${path}/pet/indexData");
    })
</script>

</body>
</html>
